
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import { Button, Icon,Tabbar, TabbarItem, Swipe, SwipeItem, Grid,
  GridItem, List, BackTop, PullRefresh, NavBar, ActionBar, ActionBarIcon, ActionBarButton,
  Popup, Card, Stepper, SubmitBar,Checkbox
} from 'vant';
// import './assets/ts/setRem'
import 'vant/es/toast/style';
import 'vant/es/dialog/style';
import 'lib-flexible'
import './assets/css/reset.css'
import './assets/fonts/iconfont.css'
const app = createApp(App)

app.use(Button)
  .use(Icon)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Swipe)
  .use(SwipeItem)
  .use(Grid)
  .use(GridItem)
  .use(List)
  .use(BackTop)
  .use(PullRefresh)
  .use(NavBar)
  .use(ActionBar)
  .use(ActionBarIcon)
  .use(ActionBarButton)
  .use(Popup)
  .use(Card)
  .use(Stepper)
  .use(SubmitBar)
  .use(Checkbox)

app.use(createPinia())
app.use(router)
app.mount('#app')
